<template>
  <a-card v-if="card">
    <template #title>String Proto</template>
    <slot>Here is String Proto of Dyson Sphere Program.</slot>
  </a-card>
  <a-typography v-else>
    <a-typography-title>String Proto</a-typography-title>
    <a-typography-paragraph>Here is String Proto of Dyson Sphere Program.</a-typography-paragraph>
  </a-typography>
</template>

<script>
/**
 * 文本原型组件，传入文本原型数据对象
 */
export default {
  props: {
    data: {
    },
    card: {
      type: Boolean,
      default: false
    }
  },
  name: "StringProtos"
}
</script>

<style scoped>

</style>
